#include <stdio.h>
#include <sys/epoll.h>
#include <sys/socket.h>
#include <unistd.h>
#include <sys/types.h>

int main(){
    int fd = socket(AF_INET, SOCK_STREAM, 0);
    int epollfd = epoll_create(10);
    struct epoll_event events[10];
    struct epoll_event ev;
	ev.events = EPOLLOUT;
	ev.data.fd = fd;
	epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev);
    epoll_wait(epollfd, events, 10, -1);
    printf("hello!\n");
}